//
//  UIImage+Mac.m
//  ArtCircle
//
//  Created by sunbin on 2017/5/19.
//  Copyright © 2017年 Quanli. All rights reserved.
//

#import "UIImage+Mac.h"

@implementation UIImage (Mac)


- (UIImage *)reSizeImageSize:(CGSize)reSize{
    
    UIGraphicsBeginImageContext(CGSizeMake(reSize.width, reSize.height));
    [self drawInRect:CGRectMake(0, 0, reSize.width, reSize.height)];
    UIImage *reSizeImage = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    
    return reSizeImage;
    
}


@end
